home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
scheme
/
gjr
/
cmplrtst.lha
/
pred.scm
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1990-03-27
|
204 b
|
15 lines
;;; -*- Scheme -*-
#|
Description:
This code tests boolean generation in predicates.
Usage:
(foo? '((1))) -> #t
(foo? '(())) -> ()
|#
(declare (usual-integrations))
(define (foo? x)
(pair? (car x)))